Pronamic\WordPress\Pay\Subscriptions\SubscriptionPeriod S

Total Complexity 25
Dependencies 8
Dependents 5
Total lines 273
Lines of code 135
Logical lines of code 57
Comment lines 93
Methods 11
Properties 4

Methods 11

Method Rating Maintainability Complexity Lines of code
from_json()
A
44 11 48
human_readable_range()
S
52 5 25
to_json()
S
51 1 31
__construct()
S
70 1 6
get_phase()
S
82 1 3
set_phase()
S
81 1 3
get_start_date()
S
82 1 3
get_end_date()
S
82 1 3
get_amount()
S
82 1 3
is_trial()
S
81 1 3
new_payment()
S
69 1 7